package com.scau.ums.mapper;

import com.scau.ums.model.Lostandfoundinfo;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

public interface ShowAllLostInfoMapper {
    @SelectProvider(method = "selectRowByPageSetOrderByClause",type = com.scau.ums.util.dao.SelectByPageSql.class)
    public List<Lostandfoundinfo> SelectAllLostInfo(String table,String clause,int startIndex,int pageSize,String whereClause);

    @SelectProvider(method = "getCheckedLostInfoSumByKeyword",type = com.scau.ums.util.dao.LostInfoSql.class)
    public int getCheckedLostInfoSumByKeyword(String keyword);

    @SelectProvider(method = "getCheckedLostInfoPageByKeyword",type = com.scau.ums.util.dao.LostInfoSql.class)
    public List<Lostandfoundinfo> getCheckedLostInfoPageByKeyword(int start,int number,String keyword);
}
